import http from '../utils/axios'
//获取产品列表
export function projectInput(query:any) {
  return http.request({
    url: '/project_input/product',
    method: 'post',
    data: query
  })
}
//业务进件,单笔新增
export function projectInputAdd(query:any) {
  return http.request({
    url: '/project_input/add',
    method: 'post',
    data: query
  })
}
//业务进件获取详情
export function project_inputGetById(query:any) {
  return http.request({
    url: '/project_input/getById',
    method: 'post',
    data: query
  })
}
//获取合作详情
export function agencyProjectList(query:any) {
  return http.request({
    url: 'agency_project/listByAId',
    method: 'post',
    data: query
  })
}
//获取合作银行
export function agencyBranchList(query:any) {
  return http.request({
    url: 'agency_branch/listByAId',
    method: 'post',
    data: query
  })
}
//获取合作详情
export function agencyProjectDetail(query:any) {
  return http.request({
    url: 'agency_project/detail',
    method: 'post',
    data: query
  })
}
//把当前信息保存至暂缓区
export function runTaskStash(query:any) {
  return http.request({
    url: 'run-task/stash',
    method: 'post',
    data: query
  })
}
//业务进件把当前信息保存至暂缓区
export function runTaskStashSave(query:any) {
  return http.request({
    url: 'run-task/stashSave',
    method: 'post',
    data: query
  })
}
//加载历史
export function historyProject(query:any) {
  return http.request({
    url: 'project_input/history',
    method: 'post',
    data: query
  })
}
export function recordCheck(query:any) {
  return http.request({
    url: 'project_input/record/check',
    method: 'post',
    data: query
  })
}